package com.zxy.ziems.server.energy.service;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Copyright (C),
 * @ClassName: DataIncrementService
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/4/8 10:44
 */
public interface DataIncrementService {
    void handleIncrementData(Date startTime, Date endTime);

    /**
     * 统计设备天数据
     */
    LocalDate syncDeviceMeasureDataDay(LocalDate date);

    /**
     * 统计小时数据
     * @param date
     * @return
     */
    LocalDateTime syncDeviceMeasureDataHour(LocalDateTime date);
}
